from random import*
print("Введите n")
N=int(input())
k=0
for i in range(N):
    a= randint(-100,100)
    b= randint(-100,100)
    if a < 5 and a > -8 and b < 5 and b > -7:
        k=k+1
print(k)
















